home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 22 / CU Amiga Magazine's Super CD-ROM 22 (1998)(EMAP Images)(GB)[!][issue 1998-05].iso / PowerPC / System / PPCReleaseDEV / Libmfd / configure < prev    next >
Encoding:
Text File  |  1998-02-21  |  37.3 KB  |  1,178 lines

  1. #! /bin/sh
  2.  
  3. # Guess values for system-dependent variables and create Makefiles.
  4. # Generated automatically using autoconf version 2.12 
  5. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  6. #
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9.  
  10. # Defaults:
  11. ac_help=
  12. ac_default_prefix=/usr/local
  13. # Any additions from configure.in:
  14.  
  15. # Initialize some variables set by options.
  16. # The variables have the same names as the options, with
  17. # dashes changed to underlines.
  18. build=NONE
  19. cache_file=./config.cache
  20. exec_prefix=NONE
  21. host=NONE
  22. no_create=
  23. nonopt=NONE
  24. no_recursion=
  25. prefix=NONE
  26. program_prefix=NONE
  27. program_suffix=NONE
  28. program_transform_name=s,x,x,
  29. silent=
  30. site=
  31. srcdir=
  32. target=NONE
  33. verbose=
  34. x_includes=NONE
  35. x_libraries=NONE
  36. bindir='${exec_prefix}/bin'
  37. sbindir='${exec_prefix}/sbin'
  38. libexecdir='${exec_prefix}/libexec'
  39. datadir='${prefix}/share'
  40. sysconfdir='${prefix}/etc'
  41. sharedstatedir='${prefix}/com'
  42. localstatedir='${prefix}/var'
  43. libdir='${exec_prefix}/lib'
  44. includedir='${prefix}/include'
  45. oldincludedir='/usr/include'
  46. infodir='${prefix}/info'
  47. guidedir='${prefix}/guide'
  48. psdir='${prefix}/ps'
  49. dvidir='${prefix}/dvi'
  50. mandir='${prefix}/man'
  51.  
  52. # Initialize some other variables.
  53. subdirs=
  54. MFLAGS= MAKEFLAGS=
  55. # Maximum number of lines to put in a shell here document.
  56. ac_max_here_lines=12
  57.  
  58. ac_prev=
  59. for ac_option
  60. do
  61.  
  62.   # If the previous option needs an argument, assign it.
  63.   if test -n "$ac_prev"; then
  64.     eval "$ac_prev=\$ac_option"
  65.     ac_prev=
  66.     continue
  67.   fi
  68.  
  69.   case "$ac_option" in
  70.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  71.   *) ac_optarg= ;;
  72.   esac
  73.  
  74.   # Accept the important Cygnus configure options, so we can diagnose typos.
  75.  
  76.   case "$ac_option" in
  77.  
  78.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  79.     ac_prev=bindir ;;
  80.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  81.     bindir="$ac_optarg" ;;
  82.  
  83.   -build | --build | --buil | --bui | --bu)
  84.     ac_prev=build ;;
  85.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  86.     build="$ac_optarg" ;;
  87.  
  88.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  89.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  90.     ac_prev=cache_file ;;
  91.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  92.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  93.     cache_file="$ac_optarg" ;;
  94.  
  95.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  96.     ac_prev=datadir ;;
  97.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  98.   | --da=*)
  99.     datadir="$ac_optarg" ;;
  100.  
  101.   -disable-* | --disable-*)
  102.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  103.     # Reject names that are not valid shell variable names.
  104.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  105.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  106.     fi
  107.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  108.     eval "enable_${ac_feature}=no" ;;
  109.  
  110.   -enable-* | --enable-*)
  111.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  112.     # Reject names that are not valid shell variable names.
  113.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  114.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  115.     fi
  116.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  117.     case "$ac_option" in
  118.       *=*) ;;
  119.       *) ac_optarg=yes ;;
  120.     esac
  121.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  122.  
  123.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  124.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  125.   | --exec | --exe | --ex)
  126.     ac_prev=exec_prefix ;;
  127.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  128.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  129.   | --exec=* | --exe=* | --ex=*)
  130.     exec_prefix="$ac_optarg" ;;
  131.  
  132.   -gas | --gas | --ga | --g)
  133.     # Obsolete; use --with-gas.
  134.     with_gas=yes ;;
  135.  
  136.   -help | --help | --hel | --he)
  137.     # Omit some internal or obsolete options to make the list less imposing.
  138.     # This message is too long to be a string in the A/UX 3.1 sh.
  139.     cat << EOF
  140. Usage: configure [options] [host]
  141. Options: [defaults in brackets after descriptions]
  142. Configuration:
  143.   --cache-file=FILE       cache test results in FILE
  144.   --help                  print this message
  145.   --no-create             do not create output files
  146.   --quiet, --silent       do not print \`checking...' messages
  147.   --version               print the version of autoconf that created configure
  148. Directory and file names:
  149.   --prefix=PREFIX         install architecture-independent files in PREFIX
  150.                           [$ac_default_prefix]
  151.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  152.                           [same as prefix]
  153.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  154.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  155.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  156.   --datadir=DIR           read-only architecture-independent data in DIR
  157.                           [PREFIX/share]
  158.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  159.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  160.                           [PREFIX/com]
  161.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  162.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  163.   --includedir=DIR        C header files in DIR [PREFIX/include]
  164.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  165.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  166.   --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  167.   --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  168.   --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  169.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  170.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  171.   --program-prefix=PREFIX prepend PREFIX to installed program names
  172.   --program-suffix=SUFFIX append SUFFIX to installed program names
  173.   --program-transform-name=PROGRAM
  174.                           run sed PROGRAM on installed program names
  175. EOF
  176.     cat << EOF
  177. Host type:
  178.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  179.   --host=HOST             configure for HOST [guessed]
  180.   --target=TARGET         configure for TARGET [TARGET=HOST]
  181. Features and packages:
  182.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  183.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  184.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  185.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  186.   --x-includes=DIR        X include files are in DIR
  187.   --x-libraries=DIR       X library files are in DIR
  188. EOF
  189.     if test -n "$ac_help"; then
  190.       echo "--enable and --with options recognized:$ac_help"
  191.     fi
  192.     exit 0 ;;
  193.  
  194.   -host | --host | --hos | --ho)
  195.     ac_prev=host ;;
  196.   -host=* | --host=* | --hos=* | --ho=*)
  197.     host="$ac_optarg" ;;
  198.  
  199.   -includedir | --includedir | --includedi | --included | --include \
  200.   | --includ | --inclu | --incl | --inc)
  201.     ac_prev=includedir ;;
  202.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  203.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  204.     includedir="$ac_optarg" ;;
  205.  
  206.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  207.     ac_prev=infodir ;;
  208.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  209.     infodir="$ac_optarg" ;;
  210.  
  211.  -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  212.    ac_prev=guidedir ;;
  213.  -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  214.  
  215.  -psdir | --psdir | --psdi | --psd | --ps)
  216.    ac_prev=psdir ;;
  217.  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  218.  
  219.  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  220.    ac_prev=dvidir ;;
  221.  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  222.  
  223.   -libdir | --libdir | --libdi | --libd)
  224.     ac_prev=libdir ;;
  225.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  226.     libdir="$ac_optarg" ;;
  227.  
  228.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  229.   | --libexe | --libex | --libe)
  230.     ac_prev=libexecdir ;;
  231.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  232.   | --libexe=* | --libex=* | --libe=*)
  233.     libexecdir="$ac_optarg" ;;
  234.  
  235.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  236.   | --localstate | --localstat | --localsta | --localst \
  237.   | --locals | --local | --loca | --loc | --lo)
  238.     ac_prev=localstatedir ;;
  239.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  240.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  241.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  242.     localstatedir="$ac_optarg" ;;
  243.  
  244.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  245.     ac_prev=mandir ;;
  246.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  247.     mandir="$ac_optarg" ;;
  248.  
  249.   -nfp | --nfp | --nf)
  250.     # Obsolete; use --without-fp.
  251.     with_fp=no ;;
  252.  
  253.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  254.   | --no-cr | --no-c)
  255.     no_create=yes ;;
  256.  
  257.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  258.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  259.     no_recursion=yes ;;
  260.  
  261.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  262.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  263.   | --oldin | --oldi | --old | --ol | --o)
  264.     ac_prev=oldincludedir ;;
  265.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  266.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  267.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  268.     oldincludedir="$ac_optarg" ;;
  269.  
  270.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  271.     ac_prev=prefix ;;
  272.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  273.     prefix="$ac_optarg" ;;
  274.  
  275.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  276.   | --program-pre | --program-pr | --program-p)
  277.     ac_prev=program_prefix ;;
  278.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  279.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  280.     program_prefix="$ac_optarg" ;;
  281.  
  282.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  283.   | --program-suf | --program-su | --program-s)
  284.     ac_prev=program_suffix ;;
  285.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  286.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  287.     program_suffix="$ac_optarg" ;;
  288.  
  289.   -program-transform-name | --program-transform-name \
  290.   | --program-transform-nam | --program-transform-na \
  291.   | --program-transform-n | --program-transform- \
  292.   | --program-transform | --program-transfor \
  293.   | --program-transfo | --program-transf \
  294.   | --program-trans | --program-tran \
  295.   | --progr-tra | --program-tr | --program-t)
  296.     ac_prev=program_transform_name ;;
  297.   -program-transform-name=* | --program-transform-name=* \
  298.   | --program-transform-nam=* | --program-transform-na=* \
  299.   | --program-transform-n=* | --program-transform-=* \
  300.   | --program-transform=* | --program-transfor=* \
  301.   | --program-transfo=* | --program-transf=* \
  302.   | --program-trans=* | --program-tran=* \
  303.   | --progr-tra=* | --program-tr=* | --program-t=*)
  304.     program_transform_name="$ac_optarg" ;;
  305.  
  306.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  307.   | -silent | --silent | --silen | --sile | --sil)
  308.     silent=yes ;;
  309.  
  310.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  311.     ac_prev=sbindir ;;
  312.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  313.   | --sbi=* | --sb=*)
  314.     sbindir="$ac_optarg" ;;
  315.  
  316.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  317.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  318.   | --sharedst | --shareds | --shared | --share | --shar \
  319.   | --sha | --sh)
  320.     ac_prev=sharedstatedir ;;
  321.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  322.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  323.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  324.   | --sha=* | --sh=*)
  325.     sharedstatedir="$ac_optarg" ;;
  326.  
  327.   -site | --site | --sit)
  328.     ac_prev=site ;;
  329.   -site=* | --site=* | --sit=*)
  330.     site="$ac_optarg" ;;
  331.  
  332.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  333.     ac_prev=srcdir ;;
  334.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  335.     srcdir="$ac_optarg" ;;
  336.  
  337.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  338.   | --syscon | --sysco | --sysc | --sys | --sy)
  339.     ac_prev=sysconfdir ;;
  340.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  341.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  342.     sysconfdir="$ac_optarg" ;;
  343.  
  344.   -target | --target | --targe | --targ | --tar | --ta | --t)
  345.     ac_prev=target ;;
  346.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  347.     target="$ac_optarg" ;;
  348.  
  349.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  350.     verbose=yes ;;
  351.  
  352.   -version | --version | --versio | --versi | --vers)
  353.     echo "configure generated by autoconf version 2.12"
  354.     exit 0 ;;
  355.  
  356.   -with-* | --with-*)
  357.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  358.     # Reject names that are not valid shell variable names.
  359.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  360.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  361.     fi
  362.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  363.     case "$ac_option" in
  364.       *=*) ;;
  365.       *) ac_optarg=yes ;;
  366.     esac
  367.     eval "with_${ac_package}='$ac_optarg'" ;;
  368.  
  369.   -without-* | --without-*)
  370.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  371.     # Reject names that are not valid shell variable names.
  372.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  373.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  374.     fi
  375.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  376.     eval "with_${ac_package}=no" ;;
  377.  
  378.   --x)
  379.     # Obsolete; use --with-x.
  380.     with_x=yes ;;
  381.  
  382.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  383.   | --x-incl | --x-inc | --x-in | --x-i)
  384.     ac_prev=x_includes ;;
  385.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  386.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  387.     x_includes="$ac_optarg" ;;
  388.  
  389.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  390.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  391.     ac_prev=x_libraries ;;
  392.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  393.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  394.     x_libraries="$ac_optarg" ;;
  395.  
  396.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  397.     ;;
  398.  
  399.   *)
  400.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  401.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  402.     fi
  403.     if test "x$nonopt" != xNONE; then
  404.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  405.     fi
  406.     nonopt="$ac_option"
  407.     ;;
  408.  
  409.   esac
  410. done
  411.  
  412. if test -n "$ac_prev"; then
  413.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  414. fi
  415.  
  416. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  417.  
  418. # File descriptor usage:
  419. # 0 standard input
  420. # 1 file creation
  421. # 2 errors and warnings
  422. # 3 some systems may open it to /dev/tty
  423. # 4 used on the Kubota Titan
  424. # 6 checking for... messages and results
  425. # 5 compiler messages saved in config.log
  426. if test "$silent" = yes; then
  427.   exec 6>/dev/null
  428. else
  429.   exec 6>&1
  430. fi
  431. exec 5>./config.log
  432.  
  433. echo "\
  434. This file contains any messages produced by compilers while
  435. running configure, to aid debugging if configure makes a mistake.
  436. " 1>&5
  437.  
  438. # Strip out --no-create and --no-recursion so they do not pile up.
  439. # Also quote any args containing shell metacharacters.
  440. ac_configure_args=
  441. for ac_arg
  442. do
  443.   case "$ac_arg" in
  444.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  445.   | --no-cr | --no-c) ;;
  446.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  447.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  448.   *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  449.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  450.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  451.   esac
  452. done
  453.  
  454. # NLS nuisances.
  455. # Only set these to C if already set.  These must not be set unconditionally
  456. # because not all systems understand e.g. LANG=C (notably SCO).
  457. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  458. # Non-C LC_CTYPE values break the ctype check.
  459. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  460. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  461. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  462. if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  463.  
  464. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  465. rm -rf conftest* confdefs.h
  466. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  467. echo > confdefs.h
  468.  
  469. # A filename unique to this package, relative to the directory that
  470. # configure is in, which we can look for to find out if srcdir is correct.
  471. ac_unique_file=fdlibm.h
  472.  
  473. # Find the source files, if location was not specified.
  474. if test -z "$srcdir"; then
  475.   ac_srcdir_defaulted=yes
  476.   # Try the directory containing this script, then its parent.
  477.   ac_prog=$0
  478.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  479.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  480.   srcdir=$ac_confdir
  481.   if test ! -r $srcdir/$ac_unique_file; then
  482.     srcdir=..
  483.   fi
  484. else
  485.   ac_srcdir_defaulted=no
  486. fi
  487. if test ! -r $srcdir/$ac_unique_file; then
  488.   if test "$ac_srcdir_defaulted" = yes; then
  489.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  490.   else
  491.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  492.   fi
  493. fi
  494. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  495.  
  496. # Prefer explicitly selected file to automatically selected ones.
  497. if test -z "$CONFIG_SITE"; then
  498.   if test "x$prefix" != xNONE; then
  499.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  500.   else
  501.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  502.   fi
  503. fi
  504. for ac_site_file in $CONFIG_SITE; do
  505.   if test -r "$ac_site_file"; then
  506.     echo "loading site script $ac_site_file"
  507.     . "$ac_site_file"
  508.   fi
  509. done
  510.  
  511. if test -r "$cache_file"; then
  512.   echo "loading cache $cache_file"
  513.   . $cache_file
  514. else
  515.   echo "creating cache $cache_file"
  516.   > $cache_file
  517. fi
  518.  
  519. ac_ext=c
  520. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  521. ac_cpp='$CPP $CPPFLAGS'
  522. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  523. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  524. cross_compiling=$ac_cv_prog_cc_cross
  525.  
  526. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  527.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  528.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  529.     ac_n= ac_c='
  530. ' ac_t='    '
  531.   else
  532.     ac_n=-n ac_c= ac_t=
  533.   fi
  534. else
  535.   ac_n= ac_c='\c' ac_t=
  536. fi
  537.  
  538.  
  539.  
  540. # Extract the first word of "gcc", so it can be a program name with args.
  541. set dummy gcc; ac_word=$2
  542. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  543. echo "configure:544: checking for $ac_word" >&5
  544. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  545.   echo $ac_n "(cached) $ac_c" 1>&6
  546. else
  547.   if test -n "$CC"; then
  548.   ac_cv_prog_CC="$CC" # Let the user override the test.
  549. else
  550.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  551.   for ac_dir in $PATH; do
  552.     test -z "$ac_dir" && ac_dir=.
  553.     if test -f $ac_dir/$ac_word; then
  554.       ac_cv_prog_CC="gcc"
  555.       break
  556.     fi
  557.   done
  558.   IFS="$ac_save_ifs"
  559. fi
  560. fi
  561. CC="$ac_cv_prog_CC"
  562. if test -n "$CC"; then
  563.   echo "$ac_t""$CC" 1>&6
  564. else
  565.   echo "$ac_t""no" 1>&6
  566. fi
  567.  
  568. if test -z "$CC"; then
  569.   # Extract the first word of "cc", so it can be a program name with args.
  570. set dummy cc; ac_word=$2
  571. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  572. echo "configure:573: checking for $ac_word" >&5
  573. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  574.   echo $ac_n "(cached) $ac_c" 1>&6
  575. else
  576.   if test -n "$CC"; then
  577.   ac_cv_prog_CC="$CC" # Let the user override the test.
  578. else
  579.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  580.   ac_prog_rejected=no
  581.   for ac_dir in $PATH; do
  582.     test -z "$ac_dir" && ac_dir=.
  583.     if test -f $ac_dir/$ac_word; then
  584.       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  585.         ac_prog_rejected=yes
  586.     continue
  587.       fi
  588.       ac_cv_prog_CC="cc"
  589.       break
  590.     fi
  591.   done
  592.   IFS="$ac_save_ifs"
  593. if test $ac_prog_rejected = yes; then
  594.   # We found a bogon in the path, so make sure we never use it.
  595.   set dummy $ac_cv_prog_CC
  596.   shift
  597.   if test $# -gt 0; then
  598.     # We chose a different compiler from the bogus one.
  599.     # However, it has the same basename, so the bogon will be chosen
  600.     # first if we set CC to just the basename; use the full file name.
  601.     shift
  602.     set dummy "$ac_dir/$ac_word" "$@"
  603.     shift
  604.     ac_cv_prog_CC="$@"
  605.   fi
  606. fi
  607. fi
  608. fi
  609. CC="$ac_cv_prog_CC"
  610. if test -n "$CC"; then
  611.   echo "$ac_t""$CC" 1>&6
  612. else
  613.   echo "$ac_t""no" 1>&6
  614. fi
  615.  
  616.   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  617. fi
  618.  
  619. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  620. echo "configure:621: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  621.  
  622. ac_ext=c
  623. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  624. ac_cpp='$CPP $CPPFLAGS'
  625. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  626. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  627. cross_compiling=$ac_cv_prog_cc_cross
  628.  
  629. cat > conftest.$ac_ext <<EOF
  630. #line 631 "configure"
  631. #include "confdefs.h"
  632. main(){return(0);}
  633. EOF
  634. if { (eval echo configure:635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  635.   ac_cv_prog_cc_works=yes
  636.   # If we can't run a trivial program, we are probably using a cross compiler.
  637.   if (./conftest; exit) 2>/dev/null; then
  638.     ac_cv_prog_cc_cross=no
  639.   else
  640.     ac_cv_prog_cc_cross=yes
  641.   fi
  642. else
  643.   echo "configure: failed program was:" >&5
  644.   cat conftest.$ac_ext >&5
  645.   ac_cv_prog_cc_works=no
  646. fi
  647. rm -fr conftest*
  648.  
  649. echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  650. if test $ac_cv_prog_cc_works = no; then
  651.   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  652. fi
  653. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  654. echo "configure:655: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  655. echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  656. cross_compiling=$ac_cv_prog_cc_cross
  657.  
  658. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  659. echo "configure:660: checking whether we are using GNU C" >&5
  660. if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  661.   echo $ac_n "(cached) $ac_c" 1>&6
  662. else
  663.   cat > conftest.c <<EOF
  664. #ifdef __GNUC__
  665.   yes;
  666. #endif
  667. EOF
  668. if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  669.   ac_cv_prog_gcc=yes
  670. else
  671.   ac_cv_prog_gcc=no
  672. fi
  673. fi
  674.  
  675. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  676.  
  677. if test $ac_cv_prog_gcc = yes; then
  678.   GCC=yes
  679.   ac_test_CFLAGS="${CFLAGS+set}"
  680.   ac_save_CFLAGS="$CFLAGS"
  681.   CFLAGS=
  682.   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  683. echo "configure:684: checking whether ${CC-cc} accepts -g" >&5
  684. if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  685.   echo $ac_n "(cached) $ac_c" 1>&6
  686. else
  687.   echo 'void f(){}' > conftest.c
  688. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  689.   ac_cv_prog_cc_g=yes
  690. else
  691.   ac_cv_prog_cc_g=no
  692. fi
  693. rm -f conftest*
  694.  
  695. fi
  696.  
  697. echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  698.   if test "$ac_test_CFLAGS" = set; then
  699.     CFLAGS="$ac_save_CFLAGS"
  700.   elif test $ac_cv_prog_cc_g = yes; then
  701.     CFLAGS="-g -O2"
  702.   else
  703.     CFLAGS="-O2"
  704.   fi
  705. else
  706.   GCC=
  707.   test "${CFLAGS+set}" = set || CFLAGS="-g"
  708. fi
  709.  
  710. # Extract the first word of "ranlib", so it can be a program name with args.
  711. set dummy ranlib; ac_word=$2
  712. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  713. echo "configure:714: checking for $ac_word" >&5
  714. if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  715.   echo $ac_n "(cached) $ac_c" 1>&6
  716. else
  717.   if test -n "$RANLIB"; then
  718.   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  719. else
  720.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  721.   for ac_dir in $PATH; do
  722.     test -z "$ac_dir" && ac_dir=.
  723.     if test -f $ac_dir/$ac_word; then
  724.       ac_cv_prog_RANLIB="ranlib"
  725.       break
  726.     fi
  727.   done
  728.   IFS="$ac_save_ifs"
  729.   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  730. fi
  731. fi
  732. RANLIB="$ac_cv_prog_RANLIB"
  733. if test -n "$RANLIB"; then
  734.   echo "$ac_t""$RANLIB" 1>&6
  735. else
  736.   echo "$ac_t""no" 1>&6
  737. fi
  738.  
  739.  
  740.  
  741. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  742. echo "configure:743: checking how to run the C preprocessor" >&5
  743. # On Suns, sometimes $CPP names a directory.
  744. if test -n "$CPP" && test -d "$CPP"; then
  745.   CPP=
  746. fi
  747. if test -z "$CPP"; then
  748. if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  749.   echo $ac_n "(cached) $ac_c" 1>&6
  750. else
  751.     # This must be in double quotes, not single quotes, because CPP may get
  752.   # substituted into the Makefile and "${CC-cc}" will confuse make.
  753.   CPP="${CC-cc} -E"
  754.   # On the NeXT, cc -E runs the code through the compiler's parser,
  755.   # not just through cpp.
  756.   cat > conftest.$ac_ext <<EOF
  757. #line 758 "configure"
  758. #include "confdefs.h"
  759. #include <assert.h>
  760. Syntax Error
  761. EOF
  762. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  763. { (eval echo configure:764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  764. ac_err=`grep -v '^ *+' conftest.out`
  765. if test -z "$ac_err"; then
  766.   :
  767. else
  768.   echo "$ac_err" >&5
  769.   echo "configure: failed program was:" >&5
  770.   cat conftest.$ac_ext >&5
  771.   rm -rf conftest*
  772.   CPP="${CC-cc} -E -traditional-cpp"
  773.   cat > conftest.$ac_ext <<EOF
  774. #line 775 "configure"
  775. #include "confdefs.h"
  776. #include <assert.h>
  777. Syntax Error
  778. EOF
  779. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  780. { (eval echo configure:781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  781. ac_err=`grep -v '^ *+' conftest.out`
  782. if test -z "$ac_err"; then
  783.   :
  784. else
  785.   echo "$ac_err" >&5
  786.   echo "configure: failed program was:" >&5
  787.   cat conftest.$ac_ext >&5
  788.   rm -rf conftest*
  789.   CPP=/lib/cpp
  790. fi
  791. rm -f conftest*
  792. fi
  793. rm -f conftest*
  794.   ac_cv_prog_CPP="$CPP"
  795. fi
  796.   CPP="$ac_cv_prog_CPP"
  797. else
  798.   ac_cv_prog_CPP="$CPP"
  799. fi
  800. echo "$ac_t""$CPP" 1>&6
  801.  
  802. for ac_hdr in unistd.h
  803. do
  804. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  805. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  806. echo "configure:807: checking for $ac_hdr" >&5
  807. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  808.   echo $ac_n "(cached) $ac_c" 1>&6
  809. else
  810.   cat > conftest.$ac_ext <<EOF
  811. #line 812 "configure"
  812. #include "confdefs.h"
  813. #include <$ac_hdr>
  814. EOF
  815. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  816. { (eval echo configure:817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  817. ac_err=`grep -v '^ *+' conftest.out`
  818. if test -z "$ac_err"; then
  819.   rm -rf conftest*
  820.   eval "ac_cv_header_$ac_safe=yes"
  821. else
  822.   echo "$ac_err" >&5
  823.   echo "configure: failed program was:" >&5
  824.   cat conftest.$ac_ext >&5
  825.   rm -rf conftest*
  826.   eval "ac_cv_header_$ac_safe=no"
  827. fi
  828. rm -f conftest*
  829. fi
  830. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  831.   echo "$ac_t""yes" 1>&6
  832.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  833.   cat >> confdefs.h <<EOF
  834. #define $ac_tr_hdr 1
  835. EOF
  836.  
  837. else
  838.   echo "$ac_t""no" 1>&6
  839. fi
  840. done
  841.  
  842.  
  843. echo $ac_n "checking for working const""... $ac_c" 1>&6
  844. echo "configure:845: checking for working const" >&5
  845. if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  846.   echo $ac_n "(cached) $ac_c" 1>&6
  847. else
  848.   cat > conftest.$ac_ext <<EOF
  849. #line 850 "configure"
  850. #include "confdefs.h"
  851.  
  852. int main() {
  853.  
  854. /* Ultrix mips cc rejects this.  */
  855. typedef int charset[2]; const charset x;
  856. /* SunOS 4.1.1 cc rejects this.  */
  857. char const *const *ccp;
  858. char **p;
  859. /* NEC SVR4.0.2 mips cc rejects this.  */
  860. struct point {int x, y;};
  861. static struct point const zero = {0,0};
  862. /* AIX XL C 1.02.0.0 rejects this.
  863.    It does not let you subtract one const X* pointer from another in an arm
  864.    of an if-expression whose if-part is not a constant expression */
  865. const char *g = "string";
  866. ccp = &g + (g ? g-g : 0);
  867. /* HPUX 7.0 cc rejects these. */
  868. ++ccp;
  869. p = (char**) ccp;
  870. ccp = (char const *const *) p;
  871. { /* SCO 3.2v4 cc rejects this.  */
  872.   char *t;
  873.   char const *s = 0 ? (char *) 0 : (char const *) 0;
  874.  
  875.   *t++ = 0;
  876. }
  877. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  878.   int x[] = {25, 17};
  879.   const int *foo = &x[0];
  880.   ++foo;
  881. }
  882. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  883.   typedef const int *iptr;
  884.   iptr p = 0;
  885.   ++p;
  886. }
  887. { /* AIX XL C 1.02.0.0 rejects this saying
  888.      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  889.   struct s { int j; const int *ap[3]; };
  890.   struct s *b; b->j = 5;
  891. }
  892. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  893.   const int foo = 10;
  894. }
  895.  
  896. ; return 0; }
  897. EOF
  898. if { (eval echo configure:899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  899.   rm -rf conftest*
  900.   ac_cv_c_const=yes
  901. else
  902.   echo "configure: failed program was:" >&5
  903.   cat conftest.$ac_ext >&5
  904.   rm -rf conftest*
  905.   ac_cv_c_const=no
  906. fi
  907. rm -f conftest*
  908. fi
  909.  
  910. echo "$ac_t""$ac_cv_c_const" 1>&6
  911. if test $ac_cv_c_const = no; then
  912.   cat >> confdefs.h <<\EOF
  913. #define const 
  914. EOF
  915.  
  916. fi
  917.  
  918.  
  919.  
  920. trap '' 1 2 15
  921. cat > confcache <<\EOF
  922. # This file is a shell script that caches the results of configure
  923. # tests run on this system so they can be shared between configure
  924. # scripts and configure runs.  It is not useful on other systems.
  925. # If it contains results you don't want to keep, you may remove or edit it.
  926. #
  927. # By default, configure uses ./config.cache as the cache file,
  928. # creating it if it does not exist already.  You can give configure
  929. # the --cache-file=FILE option to use a different cache file; that is
  930. # what configure does when it calls configure scripts in
  931. # subdirectories, so they share the cache.
  932. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  933. # config.status only pays attention to the cache file if you give it the
  934. # --recheck option to rerun configure.
  935. #
  936. EOF
  937. # The following way of writing the cache mishandles newlines in values,
  938. # but we know of no workaround that is simple, portable, and efficient.
  939. # So, don't put newlines in cache variables' values.
  940. # Ultrix sh set writes to stderr and can't be redirected directly,
  941. # and sets the high bit in the cache file unless we assign to the vars.
  942. (set) 2>&1 |
  943.   case `(ac_space=' '; set) 2>&1` in
  944.   *ac_space=\ *)
  945.     # `set' does not quote correctly, so add quotes (double-quote substitution
  946.     # turns \\\\ into \\, and sed turns \\ into \).
  947.     sed -n \
  948.       -e "s/'/'\\\\''/g" \
  949.       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
  950.     ;;
  951.   *)
  952.     # `set' quotes correctly as required by POSIX, so do not add quotes.
  953.     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
  954.     ;;
  955.   esac >> confcache
  956. if cmp -s $cache_file confcache; then
  957.   :
  958. else
  959.   if test -w $cache_file; then
  960.     echo "updating cache $cache_file"
  961.     cat confcache > $cache_file
  962.   else
  963.     echo "not updating unwritable cache $cache_file"
  964.   fi
  965. fi
  966. rm -f confcache
  967.  
  968. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  969.  
  970. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  971. # Let make expand exec_prefix.
  972. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  973.  
  974. # Any assignment to VPATH causes Sun make to only execute
  975. # the first set of double-colon rules, so remove it if not needed.
  976. # If there is a colon in the path, we need to keep it.
  977. if test "x$srcdir" = x.; then
  978.   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  979. fi
  980.  
  981. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  982.  
  983. # Transform confdefs.h into DEFS.
  984. # Protect against shell expansion while executing Makefile rules.
  985. # Protect against Makefile macro expansion.
  986. cat > conftest.defs <<\EOF
  987. s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  988. s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  989. s%\[%\\&%g
  990. s%\]%\\&%g
  991. s%\$%$$%g
  992. EOF
  993. DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  994. rm -f conftest.defs
  995.  
  996.  
  997. # Without the "./", some shells look in PATH for config.status.
  998. : ${CONFIG_STATUS=./config.status}
  999.  
  1000. echo creating $CONFIG_STATUS
  1001. # Some systems, like AmigaOS, won't allow you to remove a script that is
  1002. # being executed, so just move it out of the way instead.
  1003. if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1004. cat > $CONFIG_STATUS <<EOF
  1005. #! /bin/sh
  1006. # Generated automatically by configure.
  1007. # Run this file to recreate the current configuration.
  1008. # This directory was configured as follows,
  1009. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1010. #
  1011. # $0 $ac_configure_args
  1012. #
  1013. # Compiler output produced by configure, useful for debugging
  1014. # configure, is in ./config.log if it exists.
  1015.  
  1016. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1017. for ac_option
  1018. do
  1019.   case "\$ac_option" in
  1020.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1021.     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1022.     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1023.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1024.     echo "$CONFIG_STATUS generated by autoconf version 2.12"
  1025.     exit 0 ;;
  1026.   -help | --help | --hel | --he | --h)
  1027.     echo "\$ac_cs_usage"; exit 0 ;;
  1028.   *) echo "\$ac_cs_usage"; exit 1 ;;
  1029.   esac
  1030. done
  1031.  
  1032. ac_given_srcdir=$srcdir
  1033.  
  1034. trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1035. EOF
  1036. cat >> $CONFIG_STATUS <<EOF
  1037.  
  1038. # Protect against being on the right side of a sed subst in config.status.
  1039. sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1040.  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1041. $ac_vpsub
  1042. $extrasub
  1043. s%@CFLAGS@%$CFLAGS%g
  1044. s%@CPPFLAGS@%$CPPFLAGS%g
  1045. s%@CXXFLAGS@%$CXXFLAGS%g
  1046. s%@DEFS@%$DEFS%g
  1047. s%@LDFLAGS@%$LDFLAGS%g
  1048. s%@LIBS@%$LIBS%g
  1049. s%@exec_prefix@%$exec_prefix%g
  1050. s%@prefix@%$prefix%g
  1051. s%@program_transform_name@%$program_transform_name%g
  1052. s%@bindir@%$bindir%g
  1053. s%@sbindir@%$sbindir%g
  1054. s%@libexecdir@%$libexecdir%g
  1055. s%@datadir@%$datadir%g
  1056. s%@sysconfdir@%$sysconfdir%g
  1057. s%@sharedstatedir@%$sharedstatedir%g
  1058. s%@localstatedir@%$localstatedir%g
  1059. s%@libdir@%$libdir%g
  1060. s%@includedir@%$includedir%g
  1061. s%@oldincludedir@%$oldincludedir%g
  1062. s%@infodir@%$infodir%g
  1063. s%@guidedir@%$guidedir%g
  1064. s%@psdir@%$psdir%g
  1065. s%@dvidir@%$dvidir%g
  1066. s%@mandir@%$mandir%g
  1067. s%@CC@%$CC%g
  1068. s%@RANLIB@%$RANLIB%g
  1069. s%@CPP@%$CPP%g
  1070.  
  1071. CEOF
  1072. EOF
  1073.  
  1074. cat >> $CONFIG_STATUS <<\EOF
  1075.  
  1076. # Split the substitutions into bite-sized pieces for seds with
  1077. # small command number limits, like on Digital OSF/1 and HP-UX.
  1078. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  1079. ac_file=1 # Number of current file.
  1080. ac_beg=1 # First line for current file.
  1081. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  1082. ac_more_lines=:
  1083. ac_sed_cmds=""
  1084. while $ac_more_lines; do
  1085.   if test $ac_beg -gt 1; then
  1086.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  1087.   else
  1088.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  1089.   fi
  1090.   if test ! -s conftest.s$ac_file; then
  1091.     ac_more_lines=false
  1092.     rm -f conftest.s$ac_file
  1093.   else
  1094.     if test -z "$ac_sed_cmds"; then
  1095.       ac_sed_cmds="sed -f conftest.s$ac_file"
  1096.     else
  1097.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  1098.     fi
  1099.     ac_file=`expr $ac_file + 1`
  1100.     ac_beg=$ac_end
  1101.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  1102.   fi
  1103. done
  1104. if test -z "$ac_sed_cmds"; then
  1105.   ac_sed_cmds=cat
  1106. fi
  1107. EOF
  1108.  
  1109. cat >> $CONFIG_STATUS <<EOF
  1110.  
  1111. CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
  1112. EOF
  1113. cat >> $CONFIG_STATUS <<\EOF
  1114. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1115.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  1116.   case "$ac_file" in
  1117.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  1118.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1119.   *) ac_file_in="${ac_file}.in" ;;
  1120.   esac
  1121.  
  1122.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  1123.  
  1124.   # Remove last slash and all that follows it.  Not all systems have dirname.
  1125.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1126.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1127.     # The file is in a subdirectory.
  1128.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1129.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1130.     # A "../" for each directory in $ac_dir_suffix.
  1131.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1132.   else
  1133.     ac_dir_suffix= ac_dots=
  1134.   fi
  1135.  
  1136.   case "$ac_given_srcdir" in
  1137.   .)  srcdir=.
  1138.       if test -z "$ac_dots"; then top_srcdir=.
  1139.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1140.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1141.   *) # Relative path.
  1142.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1143.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1144.   esac
  1145.  
  1146.  
  1147.   echo creating "$ac_file"
  1148.   rm -f "$ac_file"
  1149.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1150.   case "$ac_file" in
  1151.   *Makefile*) ac_comsub="1i\\
  1152. # $configure_input" ;;
  1153.   *) ac_comsub= ;;
  1154.   esac
  1155.  
  1156.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  1157.   sed -e "$ac_comsub
  1158. s%@configure_input@%$configure_input%g
  1159. s%@srcdir@%$srcdir%g
  1160. s%@top_srcdir@%$top_srcdir%g
  1161. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  1162. fi; done
  1163. rm -f conftest.s*
  1164.  
  1165. EOF
  1166. cat >> $CONFIG_STATUS <<EOF
  1167.  
  1168. EOF
  1169. cat >> $CONFIG_STATUS <<\EOF
  1170.  
  1171. exit 0
  1172. EOF
  1173. chmod +x $CONFIG_STATUS
  1174. rm -f CONFIG.STATUS.old
  1175. rm -fr confdefs* $ac_clean_files
  1176. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1177.  
  1178.